const tokenKey = 'zy_geek_token'

// 设置
export const setToken = (value) => localStorage.setItem(tokenKey, value)
// 获取
export const getToken = () => localStorage.getItem(tokenKey)
// 移除
export const removeToken = () => localStorage.removeItem(tokenKey)
// 判断是否存在
export const hasToken = () => !!localStorage.getItem(tokenKey)
